package com.example.param;

import com.example.entity.enums.CouponGetEnum;
import com.example.entity.enums.CouponTypeEnum;
import com.example.entity.enums.PromotionsScopeTypeEnum;
import com.example.entity.enums.UserCouponStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author circle48
 */
@Data
public class UserCouponSearchParams {
    @ApiModelProperty(value = "优惠券id")
    private Long couponId;

    @ApiModelProperty(value = "优惠券名称")
    private String couponName;

    @ApiModelProperty(value = "会员id")
    private Long userId;

    @ApiModelProperty(value = "会员名称")
    private String userName;

    /**
     * POINT("打折"), PRICE("减免现金");
     *
     * @see CouponTypeEnum
     */
    @ApiModelProperty(value = "活动类型")
    private String couponType;
    /**
     * @see PromotionsScopeTypeEnum
     */
    @ApiModelProperty(value = "关联范围类型")
    private String scopeType;
    @ApiModelProperty(value = "范围关联的id")
    private String scopeId;
    @ApiModelProperty(value = "面额,可以为范围，如10_1000")
    private Double price;
    /**
     * @see CouponGetEnum
     */
    @ApiModelProperty(value = "优惠券类型，分为免费领取和活动赠送")
    private String getType;
    /**
     * @see UserCouponStatusEnum
     */
    @ApiModelProperty(value = "会员优惠券状态")
    private String userCouponStatus;
    @ApiModelProperty(value = "消费门槛")
    private Integer minPoint;
    @ApiModelProperty(value = "商店ID")
    private String storeId;

    @ApiModelProperty(value = "商品ID")
    private String skuId;

}
